﻿#include "b3mainwindow.h"
#include <QApplication>
#include <QStandardPaths>
#include <QDate>
#include "MessageLogger.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
//    LoggerController logger;
//    logger.attach(new FileLogger("stderr", true));
//    QString path = QStandardPaths::writableLocation(QStandardPaths::TempLocation);
//    path = path + QDate::currentDate().toString("/yyyyMMdd.txt");
//    logger.attach(new FileLogger(path));
//    logger.startLogging();

    B3MainWindow w;
    w.show();

    return a.exec();
}
